package com.wonders.frame.autoGeneration.task.Core;

import com.wonders.frame.autoGeneration.support.TaskContent;

import java.util.concurrent.Callable;

/**
 * @author 顾乘瑞
 */
public abstract class Task implements Callable<Object> {
    protected TaskContent cont;

    protected Task(final TaskContent cont){
        this.cont = cont;
    }

    public abstract Object call();

    public TaskContent getCont() {
        return cont;
    }
}
